package com.employee.mapper;

import com.employee.pojo.dto.AddScheduleDTO;
import com.employee.pojo.dto.UpdateScheduleDTO;
import com.employee.pojo.entry.Schedule;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ScheduleMapper {
    List<Schedule> getScheduleList();
    void addSchedule(AddScheduleDTO addScheduleDTO);
    void deleteSchedule(@Param("id") Integer id);
    void updateSchedule (UpdateScheduleDTO updateScheduleDTO);
}
